CreateIpSegment
Description
add the specified monitoring network segment.
Request Method
POST
Request Path
/apsara/route/Ddosprivate/CreateIpSegment
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
IpSegmentName | BODY | string | Yes | No sample value for this parameter. | the monitoring network segment to be added, in the format of x.x.x.x/x, for example, 172.21.23.222/24. |
InfoName | BODY | string | No | No sample value for this parameter. | identifies the relevant information of the network segment in combination with the values of InfoType parameters. For example, for the distribution information type, enter the DXJF value to indicate that the network segment belongs to the Daxing data center area. |
InfoType | BODY | string | No | No sample value for this parameter. | the type of information about this network segment. For example, distribution can be used to represent area information. |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
RequestId | string | no demo value | request ID. |
Example
Successful Response example
{
"RequestId":"no demo value"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}